package cn.kgc.service.impl;

import cn.kgc.dao.DataAnalysisDao;
import cn.kgc.pojo.DataAnalysis;
import cn.kgc.service.DataAnalysisService;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: 木子
 * @date: 2022/2/23
 * @description:
 */
@Service
public class DataAnalysisServiceImpl implements DataAnalysisService {
    @Resource
    private DataAnalysisDao dd;

    @Override
    public Page<DataAnalysis> total(String dataA) {
        return dd.total(dataA);
    }

    @Override
    public List<DataAnalysis> timeAll() {
        return dd.timeAll();
    }

    @Override
    public List<DataAnalysis> details1(String data) {
        return dd.details1(data);
    }
}
